package com.ruoyi.mes.material.mapper;

import java.util.List;
import com.ruoyi.mes.material.domain.SmesMaterialArriveBill;

/**
 * 采购订单Mapper接口
 * 
 * @author simpsense
 * @date 2020-12-10
 */
public interface SmesMaterialArriveBillMapper 
{
    /**
     * 查询采购订单
     * 
     * @param arriveBillNo 采购订单ID
     * @return 采购订单
     */
    public SmesMaterialArriveBill selectSmesMaterialArriveBillById(String arriveBillNo);

    /**
     * 查询采购订单列表
     * 
     * @param smesMaterialArriveBill 采购订单
     * @return 采购订单集合
     */
    public List<SmesMaterialArriveBill> selectSmesMaterialArriveBillList(SmesMaterialArriveBill smesMaterialArriveBill);

    /**
     * 新增采购订单
     * 
     * @param smesMaterialArriveBill 采购订单
     * @return 结果
     */
    public int insertSmesMaterialArriveBill(SmesMaterialArriveBill smesMaterialArriveBill);

    /**
     * 修改采购订单
     * 
     * @param smesMaterialArriveBill 采购订单
     * @return 结果
     */
    public int updateSmesMaterialArriveBill(SmesMaterialArriveBill smesMaterialArriveBill);

    /**
     * 删除采购订单
     * 
     * @param arriveBillNo 采购订单ID
     * @return 结果
     */
    public int deleteSmesMaterialArriveBillById(String arriveBillNo);

    /**
     * 批量删除采购订单
     * 
     * @param arriveBillNos 需要删除的数据ID
     * @return 结果
     */
    public int deleteSmesMaterialArriveBillByIds(String[] arriveBillNos);
}
